//
//  EVECDLearnedSkill.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 6/21/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>
#import "EVECDAbstractSkill.h"

@class EVECDLearnedGroup;
@class EVECDSkill;
@class EVECDQueueItem;
@class EVECDSkillPlanItem;

@interface EVECDLearnedSkill :  EVECDAbstractSkill  
{
}

@property (nonatomic, retain) NSDate * learningStart;
@property (nonatomic, retain) NSNumber * currentlyInTraining;
@property (nonatomic, retain, readonly) NSNumber * level;
@property (nonatomic, retain) EVECDLearnedGroup * partOfLearnedGroup;
@property (nonatomic, retain) EVECDSkill * skill;
@property (nonatomic, retain) NSSet* partOfQueueItem;
@property (nonatomic, retain) NSSet* partOfSkillPlanItem;

@end


@interface EVECDLearnedSkill (CoreDataGeneratedAccessors)
- (void)addPartOfQueueItemObject:(EVECDQueueItem *)value;
- (void)removePartOfQueueItemObject:(EVECDQueueItem *)value;
- (void)addPartOfQueueItem:(NSSet *)value;
- (void)removePartOfQueueItem:(NSSet *)value;

- (void)addPartOfSkillPlanItemObject:(EVECDSkillPlanItem *)value;
- (void)removePartOfSkillPlanItemObject:(EVECDSkillPlanItem *)value;
- (void)addPartOfSkillPlanItem:(NSSet *)value;
- (void)removePartOfSkillPlanItem:(NSSet *)value;

@end

@interface EVECDLearnedSkill (BindingsAccessors)

-(NSString*)name;
-(BOOL)isLeaf;

@end

